/*
 * DebuggingFlowManager.java
 * 
 * Created on Jun 9, 2007, 12:33:24 AM
 * 
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.infomancers.workflow.tests;

import com.infomancers.workflow.FlowManager;
import com.infomancers.workflow.Place;
import com.infomancers.workflow.Token;

/**
 *
 * @author aviadbd
 */
public class DebuggingFlowManager implements FlowManager {

    public void send(Token token, Place place) {
        System.out.printf("Sending token with data %s to place %s\n", token.getData(), place);
        place.addToken(token);
    }

}
